/**
 * Leandro Villanueva
 * Nov 3, 2011
 * FloodSolve.java
 */
package solver;

import java.util.ArrayList;

/**
 * @author aznanimedude
 *
 */
public class FloodSolve {

	private boolean[][] visited;
	private int[][] distances;
	
	public FloodSolve() {
		this(7);
	}
	
	public FloodSolve(int size) {
		visited = new boolean[size][size];
		distances = new int[size][size];
	}
	
	private void fill() {
		int level = 0;
		for(int x = 0; x < distances.length; x++) {
			for(int y = 0; y < distances[x].length; y++) {
				distances[x][y] = 255;
			}
		}
		ArrayList<Integer> current,next;
		current = new ArrayList<Integer>();
		next = new ArrayList<Integer>();
		while(!next.isEmpty()) {
			while(!current.isEmpty()) {
				//TODO: logic for fill
			}
		}
	}
	
	//TODO: add in stuff for maze cells (required for algorithm)
}
